import request from '@/utils/request'
import request1 from "../../utils/request1";
// 查询报案日志列表
export function listReportLog(query) {
  return request({
    url: '/insurance/reportLog/list',
    method: 'get',
    params: query
  })
}
export function listReportLog1(query) {
  return request1({
    url: '/Totalusercount/reportLog',
    method: 'get',
    params: query
  })
}

// 查询报案日志详细
export function getReportLog(id) {
  return request({
    url: '/insurance/reportLog/' + id,
    method: 'get'
  })
}

// 新增报案日志
export function addReportLog(data) {
  return request({
    url: '/insurance/reportLog',
    method: 'post',
    data: data
  })
}

// 修改报案日志
export function updateReportLog(data) {
  return request({
    url: '/insurance/reportLog',
    method: 'put',
    data: data
  })
}

// 删除报案日志
export function delReportLog(id) {
  return request({
    url: '/insurance/reportLog/' + id,
    method: 'delete'
  })
}

// 导出报案日志
export function exportReportLog(query) {
  return request({
    url: '/insurance/reportLog/export',
    method: 'get',
    params: query
  })
}